package com.gxa.zhonglong.pojo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 *
 * @author : 宸濯
 * Date: 2021/10/29 14:21
 * Description:商品/固定编码入库返回结果的实体类
 * Version: V1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class WarehouseWarrant {
    @ExcelProperty(value = "编号")
    private Long id;
    @ExcelProperty(value = "状态",converter = StateConverter.class)
    private Integer status;
    @ExcelProperty(value = "单据编号")
    private String receiptnumber ;
    @DateTimeFormat("yyyy-MM-dd-HH:mm:ss")
    @ExcelProperty(value = "创单日期")
    private Date documentationdate;
    @ExcelProperty(value = "商品类型" )
    private String type;
    @ExcelProperty(value = "供应商" )
    private String supplier;
    @ExcelProperty(value = "入库门店" )
    private String shop;
    @ExcelProperty(value = "柜台/类库名称" )
    private String countername ;
    @ExcelProperty(value = "订单号" )
    private String ordernumber ;
    @ExcelProperty(value = "数量" )
    private Integer count;
    @ExcelProperty(value = "重量" )
    private Double weight;
    @ExcelProperty(value = "成本" )
    private Double cost;
    @ExcelProperty(value = "系数" )
    private Integer coefficient;
    @ExcelProperty(value = "标签金额" )
    private Double labelmoney;
    @ExcelProperty(value = "来源" )
    private String source;
    @ExcelProperty(value = "创单人" )
    private String preparedby;
    @DateTimeFormat("yyyy-MM-dd-HH:mm:ss")
    @ExcelProperty(value = "审批日期" )
    private Date approvaldate;
}
